/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.situ.studentmanagement.model;

/**
 *
 * @author niugao
 */
public class Admin {
    public final static String TABLE_NAME = "admin";
    //column names
    public static final String ID="id";
    public static final String NAME="name";
    public static final String PASSWORD="password";
    public static final String PHONE="phone";
    public static final String EMAIL="email";
    public static final String ADDRESS="address";

    private int id;
    private String name;
    private String password;
    private String phone;
    private String email;
    private String address;

    public Admin(Integer id,String name, String password, String phone, String email, String address) {
        this.id=id;
        this.name=name;
        this.password=password;
        this.phone=phone;
        this.email=email;
        this.address=address;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }


    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }


    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }


    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
}
